/*
 * =====================================================================================
 * Copyright 2019 YiDao Inc.
 * License ()
 * Author:  XXXXXXX (), liushuyong@yidao.com
 * Filename:  Emperor2.h
 * Description:
 * Created:  09/10/21 13:30:11
 * Version:  1.0
 * Company:  YiDao
 * =====================================================================================
 */
#ifndef Emperor2_H_
#define Emperor2_H_
#include <string>
#include <mutex>

#include "IEmperor.h"

using namespace std;

class Emperor2: public IEmperor {
  public:
    ~Emperor2();
    void Test();
    static Emperor2* GetInstance();

  private:
    Emperor2();

  private:
    static Emperor2* mpEmperor2;
    static mutex mInitMutex;
};

#endif
